Product : ISaGRAF V3

Date    : 5 March 1996

File    : bitarray.use an analog to store bits.htm

Subject : Handling an array of data bits

Keywords: Array of bits - Analog

____________________________________________________________________

Handling a group of bits as a single variable in ISaGRAF always

means that you handle an integer analog variable. In this case,

boolean informations are linked to an integer analog input or output

ISaGRAF variable, with adapted I/O driver. Mask operations

(and_mask, or_mask, not_mask and xor_mask functions) can be used in

the program to process single bits in the analog value. It is also

possible to create easy C functions blocks to convert an analog

value into many boolean values (and the opposite if needed).

____________________________________________________________________

Copyright © 1996-2009 ICS Triplex ISaGRAF Inc. All rights reserved.